package com.luzh.myspring.beans.factory;

import com.luzh.myspring.beans.BeanException;

/**
 * 工厂bean
 * @param <T>
 */
public interface FactoryBean<T> {

    T getObject() throws BeanException;

    Class<?> getObjectType();

    /**
     * 是否生产单例对象
     * @return
     */
    boolean isSingleton();

}
